package com.atguigu.eduorder.entity.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author: GengKY
 * @Date: 2021/11/8 15:04
 */
@ApiModel(value = "Order查询对象", description = "订单查询对象封装")
@Data
public class OredrQuery implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "订单号")
    private String orderId;

    @ApiModelProperty(value = "课程名称")
    private String courseName;

    @ApiModelProperty(value = "用户昵称")
    private String userName;

    @ApiModelProperty(value = "订单状态 0未支付 1已支付")
    private Integer PayFlag;

    @ApiModelProperty(value = "订单创建时间", example = "2019-01-01 10:10:10")
    private String orderdate;//注意，这里使用的是String类型，前端传过来的数据无需进行类型转换

}


